#pragma once
#include "mfcwpfrect.h"

class CMFCWPFContainer :
	public CMFCWPFRect
{
public:
	CMFCWPFContainer(void);
	virtual ~CMFCWPFContainer(void);

	virtual void Parse(const CString & szPath, CECGXmlParser * pXamlParser, const CRect & oRect);
	virtual bool DrawSelf(CDCPlus * pCDCPlus);
	virtual CMFCWPFElement * MouseLeftButtonUp(int nFlags, const CPoint & oPoint);

protected:
	vector<CMFCWPFElement *> m_vecElements;

	CMFCWPFElement * GetElementFromName(const CString & szName);
};
